package com.dc.designPattern._5_adapter._1_classAdapter;

/**
 * Description: 类适配器_客户端
 * @author: gdc
 * @date: 2021/3/10
 * @version 1.0
 */
public class Client {

    public static void main(String[] args){
        Phone phone = new Phone();
        phone.charging(new VoltageAdapter());
    }
}
